import request from '@/utils/request'

// 获取当前用户信息
export function getUserInfo() {
  return request({
    url: '/users/me'
  })
}

// 用户注册接口
export function userRegister(data) {
  return request({
    url: '/auth/local/register',
    method: 'post',
    data
  })
}
